<template>
  <div>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{
        routerName.titleName
      }}</el-breadcrumb-item>
      <el-breadcrumb-item>{{
        routerName.sonName
      }}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  name: 'BreadcrumbPlug',
  data () {
    return {}
  },
  components: {},
  created () {},
  mounted () {},
  methods: {},
  computed: {
    routerName () {
      return this.$route.meta
    }
  },
  watch: {}
}
</script>

<style lang="less" scoped>
.el-breadcrumb{
    user-select: none;
    margin: 0 0 12px 0;
}
</style>
